package com.example.kotlin.ui.dialog;

import android.view.Gravity;
import android.view.WindowManager;

import com.example.kotlin.R;

/**
 * @ClassName: TestDialog
 * @Description: java类作用描述
 * @Author: chenmengjia
 * @Date: 2022/3/10 13:16
 */
public class TestDialog extends BaseDialogFragment {
    @Override
    protected int initContentView() {
        return R.layout.dialog;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getDialogWidth() {
        return WindowManager.LayoutParams.MATCH_PARENT;
    }

    @Override
    protected boolean getCanceledOnTouchOutside() {
        return true;
    }

    @Override
    protected int getGravity() {
        return Gravity.BOTTOM;
    }

    @Override
    protected boolean getInterceptOnTouchOutside() {
        return false;
    }
}
